package app.modules.infrastructure.profile.dto.web;

import io.swagger.v3.oas.annotations.media.Schema;
import org.hibernate.validator.constraints.Length;

/**
 * @author mh.z
 */
@Schema(title = "配置设置的更新信息")
public class WebProfileSettingUpdateDTO {

    @Schema(title = "配置项ID")
    private Long profileItemId;

    @Schema(title = "层次类型")
    private String levelType;

    @Length(max = 100)
    @Schema(title = "值")
    private String valueCode;

    @Length(max = 200)
    @Schema(title = "备注")
    private String remark;

    @Schema(title = "启用标志")
    private Boolean enableFlag;

    public Long getProfileItemId() {
        return profileItemId;
    }

    public void setProfileItemId(Long profileItemId) {
        this.profileItemId = profileItemId;
    }

    public String getLevelType() {
        return levelType;
    }

    public void setLevelType(String levelType) {
        this.levelType = levelType;
    }

    public String getValueCode() {
        return valueCode;
    }

    public void setValueCode(String valueCode) {
        this.valueCode = valueCode;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Boolean getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(Boolean enableFlag) {
        this.enableFlag = enableFlag;
    }
}
